package com.ec.service;

import com.ec.base.ResponseBase;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * Created by VincentZee on 2019/1/31
 */
@RequestMapping("/member")
public interface MemberService {
    @RequestMapping("/testRest")
    Map<String, Object> testRest();

    @RequestMapping("setRedisTest")
    ResponseBase setRedisTest(String key, String value);

    @RequestMapping("/getRedis")
    ResponseBase getRedis(String key);
}
